﻿using System;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using TMPro;

public partial class SystemMenu
{
    private Button m_ExitButton;
    private Button m_BagButton;
    private Button m_PlayerInfoButton;
    private Button m_SettingButton;
    private Button m_PurchButton;

    public override void InitializedObj()
    {
        base.InitializedObj();

        m_BagButton = UIObj.transform.Find("SystemMenu/Options/Bag").GetComponent<Button>();
        m_PlayerInfoButton = UIObj.transform.Find("SystemMenu/Options/PlayerInfo").GetComponent<Button>();
        m_SettingButton = UIObj.transform.Find("SystemMenu/Options/Setting").GetComponent<Button>();
        m_PurchButton = UIObj.transform.Find("SystemMenu/Options/Purch").GetComponent<Button>();
        m_ExitButton = UIObj.transform.Find("ExitButton").GetComponent<Button>();
    }
}
